import React from 'react'
//在形参中解构赋值
export default function Item({url,avatar_url,login}) {

  return (
    <div className="card">
    <a href={url} target="_blank">
      <img src={avatar_url} style={{ width: '100px' }} />
    </a>
    <p className="card-text">{login}</p>
  </div>
  )
}
